﻿using AutoMapper;
using ProsonUser.DomainUsers;
using ProsonUser.IPrisinCoursesDto;
using ProsonUser.ProsonUserDTO;
using ProsonUser.Users;

namespace ProsonUser
{
    public class ProsonUserApplicationAutoMapperProfile : Profile
    {
        public ProsonUserApplicationAutoMapperProfile()
        {
            /* You can configure your AutoMapper mapping configuration here.
             * Alternatively, you can split your mapping configurations
             * into multiple profile classes for a better organization. */
            CreateMap<User, UserDTO>();
            CreateMap<UserCreateDTO, User>();

            CreateMap<Courses, CoursesDto>();
            CreateMap<CreateUpdateCoursesDto, Courses>();


        }
    }
}
